package com.eastfair.venuebooking.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.eastfair.boot.mapper.SuperMapper;
import com.eastfair.venuebooking.entity.Contact;
import com.eastfair.venuebooking.entity.SaleClue;

import com.eastfair.venuebooking.vo.SaleClueVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * 销售线索表
 * </p>
 *
 * @author linan
 * @date 2022-06-08
 */
@Repository
public interface SaleClueMapper extends SuperMapper<SaleClue> {

    /**
     * 分页查询销售线索.
     *
     * @param page         the page
     * @param queryWrapper the query wrapper
     * @return the page
     */
    IPage<SaleClueVO> listSaleClueVOs(IPage<SaleClue> page,
                                     @Param(Constants.WRAPPER) QueryWrapper<SaleClue> queryWrapper);
}
